<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>[%$ESPCMS_SOFT_TITLE%]</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_public.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_all.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_framework.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_select.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/pageload.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/file.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.cookie.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/md5.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/json.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/bootstrap.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/lngpack_cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_form.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_function.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tool.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_page.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_batch.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tab.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/nprogress.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/iframeResizer.contentWindow.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_multiple.js"></script>
		<script type="text/javascript">
			$(document).ready(function () {
				banpageKey();
				$("[placeholder]").tooltip();
				$('input[type=checkbox],input[type=radio]').espcms_checkbox();
				$("#espcms_saveInfo").espcms_formvalidation();
				$('#espcms_saveInfo').ajaxForm({
					type: 'POST',
					url: '[%$link.save%]',
					dataType: 'json',
					beforeSubmit: function () {
						parent.espcms_are_loading();
					},
					success: function (data) {
						parent.$("#espcms_are_loading").dialog("close");
						parent.$("body").append(data.data);
						if (data.code === 'true') {
							parent.$.espcms_sticky(data.message, {'autoclose': 3000});
						} else {
							parent.$.espcms_sticky(data.message, {'autoclose': 3000});
						}
						$(window).unbind('beforeunload');
					}
				});
				load_tabclick('.tab_click');
				$('.espcms_dialog_link').espcms_dig();
				$("#lng").on('change', function () {
					var lng = $(this).val();
					var site_url = '[%$sitemap_path%]' + lng + '.xml';
					$('#creat_path').empty().append(site_url).show();
					$('#creat_path').attr('href', site_url);
				});
			});
		</script>
	</head>

	<body class="espcms_style_all">
		<div class="main">
			<div class="espcms_center_content_list">

				<div class="panel">
					<div class="panel-body form_bottom_page">
						<form class="form-horizontal admin-form" id="espcms_saveInfo" action="[%$link.save%]">
							<div class="section-divider mb40"><span>[%pack:create_pack-espcms_create_googlemap_title%]</span></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:create_pack-espcms_create_lng%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="lng" id="lng" data-size="8" title="[%pack:create_pack-espcms_create_lng_title%]" data-validation="^[\w]+$" data-validation-msg="[%pack:create_pack-espcms_create_lng_validation_msg%]">
										[%forlist from=$lng_array key=i%]
										<option value="[%$lng_array[i].lng%]">[%$lng_array[i].lngtitle%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:create_pack-espcms_create_googlemap_priority%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="priority" id="priority" data-size="8" data-validation="^[0|1]{1}\.[\d]+$" title="[%pack:create_pack-espcms_create_googlemap_priority_title%]" data-validation-msg="[%pack:create_pack-espcms_create_googlemap_priority_validation_msg%]">
										<option value="0.1">0.1</option>
										<option value="0.2">0.2</option>
										<option value="0.3">0.3</option>
										<option value="0.4">0.4</option>
										<option value="0.5">0.5</option>
										<option value="0.6">0.6</option>
										<option value="0.7">0.7</option>
										<option value="0.8">0.8</option>
										<option value="0.9">0.9</option>
										<option value="1.0">1.0</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:create_pack-espcms_create_googlemap_changefreq%]</label>
								<div class="col-sm-9">
									<select class="selectpicker form-control" name="changefreq" id="changefreq" data-size="8" data-validation="^[a-z]+$" title="[%pack:create_pack-espcms_create_googlemap_changefreq_title%]" data-validation-msg="[%pack:create_pack-espcms_create_googlemap_changefreq_validation_msg%]">
										<option value="always">always</option>
										<option value="hourly">hourly</option>
										<option value="daily">daily</option>
										<option value="weekly">weekly</option>
										<option value="monthly">monthly</option>
										<option value="yearly">yearly</option>
										<option value="never">never</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:create_pack-espcms_create_googlemap_createlink%]</label>
								<div class="col-sm-9">
									<input type="text" class="form-control" name="create_linknum" id="create_linknum" data-validation="^[1-9]{1}[\d]*$" data-isvalidation="true" placeholder="[%pack:create_pack-espcms_create_googlemap_createlink_title%]" title="[%pack:create_pack-espcms_create_googlemap_createlink_title%]" data-validation-msg="[%pack:create_pack-espcms_create_googlemap_createlink_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:create_pack-espcms_create_path%]</label>
								<div class="col-sm-9 pt10 f12 text-orange"><a class="label label-success displaynone" id="creat_path" target="_blank" href="[%$sitemap_path%]"></a></div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label"></label>
								<div class="col-sm-9 f12 text-danfei lh200c">[%pack:create_pack-espcms_create_xml_mess%]</div>
							</div>

							<div class="form_button">
								<button type="submit" class="btn btn-green min-w-150" formmethod="POST">[%pack:botton_pack-espcms_botton_create_ok%]</button>
							</div>
						</form>
					</div>
				</div>

			</div>
		</div>
		[%link file="public/load.html"%]
		[%link file="public/load_height.html"%]
	</body>
</html>
